<div style="min-height: 250px">
<?php echo Form::open('settings/save_profile', array('class' => 'standard_form','enctype' => 'multipart/form-data'))?>
<ul class="list">
         <li>
            <div class="list_white_container" style="height: 127px;padding-left: 6px; padding-top: 13px;">               
                <?php //echo Form::label('','') ?>
                <div style="float: left; position: relative" id="user_photo_container" class="profile_image">
                        <img src="<?php echo  $profile->photo->path(true,'square') ?>" alt=""/>
                        <a href="/settings/delete_photo" id="delete_user_photo" class="delete_photo" style="bottom: 5px; right: 5px; <?php if (!$profile->file_id) echo 'display:none'?>">x</a>
                </div>
                <div style="float: left;width: 512px;margin-left: 8px; height: 114px">
                    <p style="margin-top:0px"><?php echo __('Acceptable file formats are: JPG, PNG no larger than 2 MB.') ?></p>
                    <div id="user_photo" rel="<?php echo __('Select photo') ?>">       
                    <noscript>          
                        <?php echo Form::file('user_photo'); ?>
                    </noscript>         
                    </div>
                </div>
                
		<div style="clear: both"></div>
            </div>
	</li>
        <li>
            <div class="list_white_container">
                <?php echo Form::label('name',__('Name').'*:') ?>
		<?php echo Form::input('name', $profile->name, array('class' => 'standard_text_form','id'=>'name','title'=>'Enter your name or names')) ?>
		<div style="clear: both"></div>
            </div>
	</li>
	<li>
            <div class="list_white_container">
                <?php echo Form::label('surname',__('Surname').'*:') ?>
		<?php echo Form::input('surname', $profile->surname, array('class' => 'standard_text_form','id'=>'surname','title'=>'Enter your surname')) ?>
		<div style="clear: both"></div>
            </div>
	</li>
        <li>
            <div class="list_white_container">
                <?php echo Form::label('description',__('My description').'*:') ?>
		<?php echo Form::input('description', $profile->description, array('class' => 'standard_text_form','id'=>'description','title'=>'Enter description who you realy are')) ?>
		<div style="clear: both"></div>
            </div>
	</li>
        <li>
            <div class="list_white_container">
                <?php echo Form::label('country',__('Country').'*:') ?>
                <?php echo Form::select('country', $countries , $profile->country_iso, array('id'    => 'country',
                                                                                             'class' => 'standard_select_form')) ?>
		<div style="clear: both"></div>
            </div>
        </li>
        <li>
            <div class="list_white_container">
                <?php echo Form::label('address',__('Locality').'*:') ?>
		<?php echo Form::input('address', $profile->address, array('class'           => 'standard_text_form',
                                                                           'id'              => 'address',
                                                                           'data-suggestion' => __('Type to receive suggestion'))) ?>
		<div style="clear: both"></div>
            </div>
	</li>
        <li>
            <div class="list_white_container">
                <?php echo Form::label('birth_date',__('Date of birth').'*:') ?>
                <?php echo Form::input('birth_date', substr($profile->birth_date,0,-9), array('class'    => 'datepicker_form standard_text_form',
                                                                                              'id'       =>'birth_date',
                                                                                              'readonly' => 'readonly')) ?>
		<div style="clear: both"></div>
            </div>
	</li>
        <li>
            <div class="list_white_container">
                <?php echo Form::label('field',__('Field').'*:') ?>
                <?php echo Form::select('field[]', $fields , $my_fields, array('id'       => 'field',
                                                                               'multiple' => 'multiple',
                                                                               'title'    => __('Choose field'))) ?>
		<div style="clear: both"></div>
            </div>
	</li>
        <li>
            <div class="list_white_container">
                <?php echo Form::label('','') ?>
		<?php echo Form::submit('save', __('Save settings'), array('class' => 'button_blue')) ?>
		<div style="clear: both"></div>
            </div>
	</li>
    </ul>
<?php echo Form::close() ?>
</div>